package com.baizhi.wwx.service;

import com.baizhi.wwx.entity.Admin;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.IOException;
import java.util.Map;

public interface AdminService {
    void register(Admin admin);
    Map<String,String> getImageCodes() throws IOException;
    Map<String,String>login(Admin admin,String token);
    Admin getUserInfo(String token);
    void logout(String token);
}
